from django.urls import path
from apps.badminton_school.views import getBadminSiteInfo,getBadminSiteInfoDate\
    ,getBadminSiteInfoDateTime,getBookInfo,updateInfo,getTryInfo,addbookinfo,TestTime,Activity,Act_Info,Act_detail,Join_Act,ActPeople
urlpatterns =[
    path('badminton/<date>/<site>/<time>',getBadminSiteInfo.as_view()),
    path('badminton/<date>', getBadminSiteInfoDate.as_view()),
    path('badminton/<date>/<time>', getBadminSiteInfoDateTime.as_view()),
    path('bookinfo', getBookInfo.as_view()),
    path('admin/badminton/update', updateInfo.as_view()),
    path('sport/badminton/info',getTryInfo.as_view()),
    path('sport/badminton/book',addbookinfo.as_view()),
    path('testtime', TestTime.as_view()),
    path('sport/activity',Activity.as_view()),
    path('sport/activityinfo', Act_Info.as_view()),
    path('sport/activitydetail', Act_detail.as_view()),
    path('sport/joinact', Join_Act.as_view()),
    path('sport/actpeople', ActPeople.as_view())

]